Routes an entity deletion request to the underlying data store.

Namespace: Keystone.Carbonite
Assembly: Keystone.Carbonite (in Keystone.Carbonite.dll)

void Remove( 
TEntity entity 
)
This language is not supported or no code example is available.

Parameters

entity

Type: TEntity

The entity to delete.

Exception type Condition

ArgumentException

If a null reference (Nothing in Visual Basic) value is given for the arguments.

InvalidOperationException

If this operation is not supported by a subclass of Dao<TEntity, TEntityCollection, TDataContext, TFilteringCriteria, TOrderingCriteria, TPagingCriteria, TCarboniteController, TTransaction, TTransactionCreationParameters>.

Windows, Windows Server, OS X, macOS, iOS, tvOS, Android, Linux, AWS, Azure

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 4.6

Others

Xamarin, Mono